package com.salesystem.dao.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private Integer id;
	private Productbrand productbrand;
	private String name;
	private Double price;
	private Set ordersinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Product() {
	}


	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Productbrand getProductbrand() {
		return this.productbrand;
	}

	public void setProductbrand(Productbrand productbrand) {
		this.productbrand = productbrand;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Set getOrdersinfos() {
		return this.ordersinfos;
	}

	public void setOrdersinfos(Set ordersinfos) {
		this.ordersinfos = ordersinfos;
	}

}